package com.lavida.project.system.contractmana.domain;


import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;


public class Contractmana{
	private Integer id;
	private String dangan_id;
	private String contract_id;
	private String insurance_com;
	private String insurance_name;
	@JsonFormat(pattern = "yyyy-MM-dd")
	private Date date;
	@JsonFormat(pattern = "yyyy-MM-dd")
	private Date start_date;
	@JsonFormat(pattern = "yyyy-MM-dd")
	private Date end_date;
	private String contract_type;
	private String contract_status;
	private String remark;
	private String annex;
	private String annexPath;
	private Integer days;//天数

	public Contractmana() {
		super();
	}
	public Contractmana(Integer id, String dangan_id, String contract_id, String insurance_com, String insurance_name,
			Date date, Date start_date, Date end_date, String contract_type, String contract_status, String remark,
			String annex, String annexPath) {
		super();
		this.id = id;
		this.dangan_id = dangan_id;
		this.contract_id = contract_id;
		this.insurance_com = insurance_com;
		this.insurance_name = insurance_name;
		this.date = date;
		this.start_date = start_date;
		this.end_date = end_date;
		this.contract_type = contract_type;
		this.contract_status = contract_status;
		this.remark = remark;
		this.annex = annex;
		this.annexPath = annexPath;
	}
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getDangan_id() {
		return dangan_id;
	}
	public void setDangan_id(String dangan_id) {
		this.dangan_id = dangan_id;
	}
	public String getContract_id() {
		return contract_id;
	}
	public void setContract_id(String contract_id) {
		this.contract_id = contract_id;
	}
	public String getInsurance_com() {
		return insurance_com;
	}
	public void setInsurance_com(String insurance_com) {
		this.insurance_com = insurance_com;
	}
	public String getInsurance_name() {
		return insurance_name;
	}
	public void setInsurance_name(String insurance_name) {
		this.insurance_name = insurance_name;
	}
	public Date getDate() {
		return date;
	}
	public void setDate(Date date) {
		this.date = date;
	}
	public Date getStart_date() {
		return start_date;
	}
	public void setStart_date(Date start_date) {
		this.start_date = start_date;
	}
	public Date getEnd_date() {
		return end_date;
	}
	public void setEnd_date(Date end_date) {
		this.end_date = end_date;
	}
	public String getContract_type() {
		return contract_type;
	}
	public void setContract_type(String contract_type) {
		this.contract_type = contract_type;
	}
	public String getContract_status() {
		return contract_status;
	}
	public void setContract_status(String contract_status) {
		this.contract_status = contract_status;
	}
	public String getRemark() {
		return remark;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	}
	public String getAnnex() {
		return annex;
	}
	public void setAnnex(String annex) {
		this.annex = annex;
	}
	public String getAnnexPath() {
		return annexPath;
	}
	public void setAnnexPath(String annexPath) {
		this.annexPath = annexPath;
	}
	public Integer getDays() {
		return days;
	}
	public void setDays(Integer days) {
		this.days = days;
	}
	@Override
	public String toString() {
		return "Contractmana [id=" + id + ", dangan_id=" + dangan_id + ", contract_id=" + contract_id
				+ ", insurance_com=" + insurance_com + ", insurance_name=" + insurance_name + ", date=" + date
				+ ", start_date=" + start_date + ", end_date=" + end_date + ", contract_type=" + contract_type
				+ ", contract_status=" + contract_status + ", remark=" + remark + ", annex=" + annex + ", annexPath="
				+ annexPath + ", days=" + days + "]";
	}
	
}
